#if ..else
# if 3>2:
#     print('1111')
#     print('2222')
# print('33333')

#if ...elif....
# i=10
# if i>5:
#     print('>5')
# elif i>6:
#     print('>6')
# elif i > 7:
#     print('>7')
# else:
#   print('00000')

# score=99
# if  score>80:
#     if score>90:
#         print('奖励笔记本1个')
#         if score>95:
#             print('奖励文具盒一个')
# else:
#     print('不奖励')
############################
str='hello world'
# for s in str:
#     if s=='l':
#         print(s,end='，')#end 暂时不换行，end中可以设置分隔符

# sum=0
# for i in range(1,101):
#     sum+=i
# print(sum)

# c=0
# for i in range(1000):
#     if i%4==0 and i!=0:
#         c+=1
#         if c>=5:
#             #break
#             continue
#         print(i, end=' ')
# print()
# print(c)

#九九乘法表
# for i in range(1,10): #行
#     for j in range(1,i+1):#列
#         print(f'{j}×{i}={i*j}',end='   ')
#     print('')#换行
# print("***********************************************")
# i=1
# while i<10:#行
#     j = 1
#     while j<i+1:#列
#         print(f'{j}×{i}={i * j}', end='   ')
#         j+=1
#     i += 1
#     print('')#换行




# i=0
# sum=0
# while i<100:
#     i+=1
#     sum+=i
# print(sum)

# b=True  #状态开关
# c=0
# while b:
#     c+=1
#     if c>=100:
#         b=False
#     print(c)


